package com.ruoyi.appService.mentalTestResult.careeranchorResult.service;

import java.util.List;
import com.ruoyi.appService.mentalTestResult.careeranchorResult.domain.ZTestCareeranchorTestresult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * 职业锚心理测试结果Service接口
 *
 * @author anjiao
 * @date 2025-05-15
 */
public interface IZTestCareeranchorTestresultService extends IService<ZTestCareeranchorTestresult> {
    /**
     * 查询职业锚心理测试结果
     *
     * @param id 职业锚心理测试结果主键
     * @return 职业锚心理测试结果
     */
    public ZTestCareeranchorTestresult selectZTestCareeranchorTestresultById(Long id);

    /**
     * 查询职业锚心理测试结果列表
     *
     * @param zTestCareeranchorTestresult 职业锚心理测试结果
     * @return 职业锚心理测试结果集合
     */
    public List<ZTestCareeranchorTestresult> selectZTestCareeranchorTestresultList(ZTestCareeranchorTestresult zTestCareeranchorTestresult);

    /**
     * 新增职业锚心理测试结果
     *
     * @param zTestCareeranchorTestresult 职业锚心理测试结果
     * @return 结果
     */
    public int insertZTestCareeranchorTestresult(ZTestCareeranchorTestresult zTestCareeranchorTestresult);

    /**
     * 修改职业锚心理测试结果
     *
     * @param zTestCareeranchorTestresult 职业锚心理测试结果
     * @return 结果
     */
    public int updateZTestCareeranchorTestresult(ZTestCareeranchorTestresult zTestCareeranchorTestresult);

    /**
     * 批量删除职业锚心理测试结果
     *
     * @param ids 需要删除的职业锚心理测试结果主键集合
     * @return 结果
     */
    public int deleteZTestCareeranchorTestresultByIds(Long[] ids);

    /**
     * 删除职业锚心理测试结果信息
     *
     * @param id 职业锚心理测试结果主键
     * @return 结果
     */
    public int deleteZTestCareeranchorTestresultById(Long id);


    public void addOrupdateTestResult( ZTestCareeranchorTestresult zTestCareeranchorTestresult, HttpServletRequest request);

    public AjaxResult selectTestResult( HttpServletRequest request);
}